div {
  width: 250px;
  height: 250px;
  background-color: yellow;
}

span {
  color: yellow;
}

h1 {
  color: tomato;
}

ul {
  color: red;
}

a {
  color: purple;
  font-size: 22px;
}

/*sfsfd
ka
sha
sao
fen
*/
nav {
  background: #333;
}

nav > .container {
  width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

nav > .container > div {
  float: left;
}

nav > .container > ul {
  float: right;
  overflow: hidden;
}

nav > .container > ul + li {
  float: left;
}

nav > .container > ul + li ~ a {
  text-decoration: none;
  color: #fff;
}

nav > .container:hover {
  color: red;
}
